package cn.iocoder.an.module.business.controller.admin.warningconfig.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.VO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 预警配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WarningConfigRespVO implements VO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27926")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "预警(天数)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警(天数)")
    private Integer warningDays;

    @Schema(description = "预警等级", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警等级")
    private Integer warningLevel;

    @Schema(description = "预警颜色")
    @ExcelProperty("预警颜色")
    private String warningColor;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "预警消息接收人ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<Long> warningUser;

    @Schema(description = "预警消息接收人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("预警消息接收人")
    private String warningUserName;

    @Schema(description = "预警类型,1是设备保养预警，2是设备点检预警", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer warningType;


}